package com.xxxx.api.service;

import com.xxxx.api.pojo.Admin;

/**
 * @Author : ymd
 * @Date : 2020/11/2 0002 11:50
 * @Version 1.0
 * @Description : 单点登录接口
 */
public interface SSOService {
    String Login(Admin admin);

    Admin validate(String ticket);

    void logout(String ticket);

    Admin queryByName(String userName);
}
